package from;

import org.apache.wicket.markup.html.WebPage;
import org.apache.wicket.markup.html.form.Form;
import org.apache.wicket.markup.html.form.PasswordTextField;
import org.apache.wicket.markup.html.form.TextField;

public class PasswordTextFieldPage extends WebPage {
    public PasswordTextFieldPage(){
        super();

        Form form = new Form("formP");
        this.add(form);
        form.add(new TextField<>("name"));
        form.add(new PasswordTextField("password"));
    }
}
